// Course.java
@Data
public class Course {
    private Integer id;
    private String name;
    private Integer credit;
    private Integer capacity;
    private Integer teacherId; // 关联教师ID
}